﻿using DomenModel;
using Infrastructure.Repositories;
using Model.Service;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Infrastructure.Service
{
    public class OrderingService : IOrderingService
    {
        OrderRealization _dbOrders = new OrderRealization();

        public List<OrderDetails> GetPaginationListOfOrders(string userName)
        {
            var list = _dbOrders.GetOrderOfUser(userName);
            return list;
        }

    }
}
